//
//  SEGImageMaskView.h
//  ExcellentHome
//
//  Created by 揭婧雯 on 16/11/23.
//  Copyright © 2016年 陈区. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^scratchCompletion)();

//刮奖表层图片
@interface SEGImageMaskView : UIImageView
@property (nonatomic, readonly) BOOL canShowResult;
@property (nonatomic) BOOL result;
@property (nonatomic, readonly) double percentsOfImageMasked;
/**
 刮出后的回调.
 */
@property (nonatomic, strong) scratchCompletion completion;

- (id)initWithFrame:(CGRect)frame image:(UIImage*)img;
@end
